package day7;

import java.util.*;

/**
 * @author oldliu
 * @since 1.0
 */
public class DogTest2 {
    public static List getList(int type){
        if(type==1)
            return new ArrayList();
        else if(type==2)
            return new LinkedList();
        else return new Vector();
    }

    public static void main(String[] args) {
        List list = getList((int) (System.currentTimeMillis() % 3 ));
        System.out.println(list.getClass());
    }
}
